FROM kernelstudio/cuda-runtime:12.9.0

# 修复链接库错误
ENV LD_LIBRARY_PATH=/usr/lib/libreoffice/program/:$LD_LIBRARY_PATH

RUN export DEBIAN_FRONTEND=noninteractive && \
    apt-get update -y && \
    apt-get install -y libreoffice libreoffice-l10n-zh-cn libreoffice-help-zh-cn

# 清理
RUN apt-get clean && \
    rm -rf /var/lib/apt/lists/* \
    rm -rf /tmp/*

CMD ["/bin/sh"]